package com.site.wisdom_construction.service.iotModule;

import com.site.wisdom_construction.dao.iotModule.AiMonitoringDao;
import com.site.wisdom_construction.entity.iotModule.AiMonitoring;
import com.site.wisdom_construction.responseEntity.AiMonitoringResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/21
 * @Description
 */
@Service
public class AiMonitoringService implements AiMonitoringDao {
    @Autowired
    private AiMonitoringDao aiMonitoringDao;

    @Override
    public int deleteAiMonitoring(Map map) {
        return aiMonitoringDao.deleteAiMonitoring(map);
    }

    @Override
    public List<AiMonitoring> findAiMonitoringByPage(Map map) {
        return aiMonitoringDao.findAiMonitoringByPage(map);
    }

    @Override
    public long Total(Map map) {
        return aiMonitoringDao.Total(map);
    }

    @Override
    public List<AiMonitoring> selectAiMonitoring(Map map) {
        return aiMonitoringDao.selectAiMonitoring(map);
    }

    @Override
    public List<AiMonitoringResult> countAiMonitoring(Map map) {
        return aiMonitoringDao.countAiMonitoring(map);
    }
}
